<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
    <!-- Loading Bootstrap -->
    <link href="{{asset('resources/views/admin/Flat/dist/css/vendor/bootstrap.min.css')}}" rel="stylesheet">
    <!-- Loading Flat UI -->
    <link href="{{asset('resources/views/admin/Flat/dist/css/flat-ui.css')}}" rel="stylesheet">
    <link href="{{asset('resources/views/admin/Flat/docs/assets/css/demo.css')}}" rel="stylesheet">
    <link rel="shortcut icon" href="{{asset('resources/views/admin/Flat/img/favicon.ico')}}">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="{{asset('resources/views/admin/dist/js/vendor/html5shiv.js')}}"></script>
    <script src="{{asset('resources/views/admin/dist/js/vendor/respond.min.js')}}"></script>

    <![endif]-->
</head>
<body>
<form action="{{url('admin/city/'.$field->ctid)}}" method="post">
    {{csrf_field()}}
    <input type="hidden" name="_method" value="put">
    <div class="alert alert-success">编辑城市</div>
    @if(count($errors)>0)
        <div class="mark">
            @if(is_object($errors))
                @foreach($errors->all() as $v)
                    <p>{{$v}}</p>
                @endforeach
            @else
                <p>{{$errors}}</p>
            @endif
        </div>
    @endif
    <div class="form-group">
        <label for="exampleInputEmail1">城市</label>
        <textarea name="cityname" rows="5" cols=""  class="form-control" placeholder="请输入城市名称">{{$field->cityname}}</textarea>
    </div>
    <button class="btn btn-primary btn-block" type="submit"> 确定 </button>
</form>
</body>
</html>
